package com.wanmait.recruitment.pojo;

import java.io.Serializable;
import java.util.Date;

public class Userinfo implements Serializable {
    private Integer id;

    /**
	* 用户名
	*/
    private String username;
    /**
     * 每天发布简历的数量
     */
    private Integer nowResumeCount;
    /**
	* 用户密码
	*/
    private String userpass;

    /**
	* 用户姓名
	*/
    private String name;

    /**
	* 性别
	*/
    private String sex;

    /**
	* 民族id
	*/
    private Nations nations;

    /**
	* 出生日期
	*/
    private Date birthday;

    /**
	* 婚姻状态,0未婚,1已婚
	*/
    private Boolean married;

    /**
	* 政治面貌id
	*/
    private PoliticalStatus politicalStatus;

    /**
	* 毕业院校
	*/
    private String shool;

    /**
	* 专业
	*/
    private String professional;

    /**
	* 学历id
	*/
    private Degree degree;

    /**
	* 籍贯
	*/
    private String nativePlace;

    /**
	* 头像
	*/
    private String headImage;

    /**
	* 邮箱
	*/
    private String email;

    /**
	* 电话
	*/
    private String telephone;
    /**
	* 注册时间
	*/
    private Date inputTime;
    /**
     * 激活码
     */
    private String activeCode;

    /**
	* 最后登陆时间
	*/
    private Date lastLoginTime;
    /**
     * 订阅数量
     */
    private Integer subscribeCount;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSubscribeCount() {
        return subscribeCount;
    }

    public void setSubscribeCount(Integer subscribeCount) {
        this.subscribeCount = subscribeCount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpass() {
        return userpass;
    }

    public void setUserpass(String userpass) {
        this.userpass = userpass;
    }

    public Integer getNowResumeCount() {
        return nowResumeCount;
    }

    public void setNowResumeCount(Integer nowResumeCount) {
        this.nowResumeCount = nowResumeCount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Boolean getMarried() {
        return married;
    }

    public void setMarried(Boolean married) {
        this.married = married;
    }

    public String getShool() {
        return shool;
    }

    public void setShool(String shool) {
        this.shool = shool;
    }

    public String getProfessional() {
        return professional;
    }

    public void setProfessional(String professional) {
        this.professional = professional;
    }
    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Nations getNations() {
        return nations;
    }

    public void setNations(Nations nations) {
        this.nations = nations;
    }

    public PoliticalStatus getPoliticalStatus() {
        return politicalStatus;
    }

    public void setPoliticalStatus(PoliticalStatus politicalStatus) {
        this.politicalStatus = politicalStatus;
    }

    public Degree getDegree() {
        return degree;
    }

    public void setDegree(Degree degree) {
        this.degree = degree;
    }

    public String getActiveCode() {
        return activeCode;
    }

    public void setActiveCode(String activeCode) {
        this.activeCode = activeCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Userinfo{");
        sb.append("id=").append(id);
        sb.append(", username='").append(username).append('\'');
        sb.append(", userpass='").append(userpass).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", sex='").append(sex).append('\'');
        sb.append(", nations=").append(nations);
        sb.append(", birthday=").append(birthday);
        sb.append(", married=").append(married);
        sb.append(", politicalStatus=").append(politicalStatus);
        sb.append(", shool='").append(shool).append('\'');
        sb.append(", subscribeCount='").append(subscribeCount).append('\'');
        sb.append(", nowResumeCount='").append(nowResumeCount).append('\'');
        sb.append(", professional='").append(professional).append('\'');
        sb.append(", degree=").append(degree);
        sb.append(", nativePlace='").append(nativePlace).append('\'');
        sb.append(", headImage='").append(headImage).append('\'');
        sb.append(", email='").append(email).append('\'');
        sb.append(", telephone='").append(telephone).append('\'');
        sb.append(", inputTime=").append(inputTime);
        sb.append(", activeCode='").append(activeCode).append('\'');
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", enable=").append(enable);
        sb.append('}');
        return sb.toString();
    }
}